package com.ruyuan.user.server.repository.mapper;

import com.ruyuan.user.server.repository.bean.UserRoleRelationDO;
import com.ruyuan.user.server.repository.bean.UserRoleRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserRoleRelationMapper {
    long countByExample(UserRoleRelationExample example);

    int deleteByExample(UserRoleRelationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserRoleRelationDO record);

    int insertSelective(UserRoleRelationDO record);

    List<UserRoleRelationDO> selectByExample(UserRoleRelationExample example);

    UserRoleRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserRoleRelationDO record, @Param("example") UserRoleRelationExample example);

    int updateByExample(@Param("record") UserRoleRelationDO record, @Param("example") UserRoleRelationExample example);

    int updateByPrimaryKeySelective(UserRoleRelationDO record);

    int updateByPrimaryKey(UserRoleRelationDO record);
}